Does deque reuse memory?

2010-01-27
2013-05-13
  • Maxim Yanchenko

    Maxim Yanchenko - 2010-01-27

    Say if I removed 100 elements from a deque's front, and then pushed other 100 elements to the deque's back, will deque reuse the memory freed from deletion from front? OR it will allocate new memory for the chunks (i.e. working like a auto-growing circular buffer)?

    Thanks,
    Maxim

     
  • ajgulev

    ajgulev - 2012-07-18

    Газовые котлы, колонки много технической информации, форум, обсуждения и отзывы о газовых котлах и колонках.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks