Skip to main content

Timeline for C - Fast & simple bump allocator

Current License: CC BY-SA 4.0

12 events
when toggle format what by license comment
Jun 9, 2020 at 21:55 vote accept xilpex
Jun 2, 2020 at 19:55 comment added xilpex @GlenYates -- Ah, yes-- I seem to have forgot that! Good catch! ty!
Jun 2, 2020 at 19:47 comment added Glen Yates If you are concerned with efficiency, shouldn't bump allocators always allocate memory downwards instead of upwards?
Jun 2, 2020 at 14:29 comment added chux @Lundin Are you concerned GB(10*1024) overflows 32-bit math? Overwise (size_t)10* 1024 * 1024 *1024 looks OK.
Jun 2, 2020 at 10:59 comment added DarkDust Don't cast malloc returns (applies to your malloc as well).
Jun 2, 2020 at 9:00 history tweeted twitter.com/StackCodeReview/status/1267742762595758080
Jun 2, 2020 at 8:58 comment added Lundin GB(10*1024) etc will overflow. Don't use function-like macros for these, use absolute numeric constants.
Jun 2, 2020 at 3:29 history became hot network question
Jun 1, 2020 at 22:45 answer added chux timeline score: 10
Jun 1, 2020 at 22:45 answer added Reinderien timeline score: 7
Jun 1, 2020 at 19:47 history edited xilpex CC BY-SA 4.0
edited title
Jun 1, 2020 at 19:28 history asked xilpex CC BY-SA 4.0