You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2020/10/29 10:54:06 UTC

[GitHub] [bookkeeper] eolivelli commented on issue #2461: Question about EntryMemTable

eolivelli commented on issue #2461:
URL: https://github.com/apache/bookkeeper/issues/2461#issuecomment-718646907


   ```
       // Reset allocator so we get a fresh buffer for the new EntryMemTable
                       this.allocator = new SkipListArena(conf);
   ```
   @Technoboy-  probably if you do not create a new SkipListArena the old one would be dirty and it is more effective (better performance) to start with a brand new one.
   Probably you can try to remove that line and run all of the tests and see if something breaks, then it the change is "safe" you should run some perf test that exercise that code path (I don't know how to do it, it is to be designed)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org