Commit Graph

58 Commits (4a80161f33b2158b61977a2e6ee705660bc0b19b)

Author SHA1 Message Date
Brett 941aedb510 make const const again 2024-08-07 01:34:31 -04:00
Brett f99e6b3db9 make expanding buffer externally expandable with copy! 2024-07-29 19:34:03 -04:00
Brett cdb91d8007 add null check 2024-06-26 18:55:11 -04:00
Brett 2a34be2e7b fix expanding buffer, memory allocation now accounts for 0 (default 16) 2024-06-24 13:52:15 -04:00
Brett 9ad96191ff memory love, expanding buffer. might already have one of theses. should makes docs! 2024-06-19 21:16:58 -04:00
Brett eaad38e588 array 2024-03-07 09:00:19 -05:00
Brett 0b6b6aed9b untested vector changes 2024-02-20 15:18:05 -05:00
Brett 6ec0b1f886 changes? 2024-02-14 16:19:48 -05:00
Brett 8e5b3ed284 make template specialization more clear 2024-02-14 15:25:18 -05:00
Brett ea31d8f26c add resize to scoped buffer to allow better usage in the GP assignment 2024-02-14 15:21:59 -05:00
Brett 3473247e6c what changed? 2024-02-13 23:49:18 -05:00
Brett e1530de338 constexpr funny man 2024-02-13 17:26:05 -05:00
Brett c7beb41042 more tricks to the buffer 2024-02-13 17:06:33 -05:00
Brett 085fd70063 move allocator to new file, memory_util, move functions around 2023-12-18 23:13:44 -05:00
Brett 3638703242 make work as a standard allocator 2023-12-18 20:55:27 -05:00
Brett 825e2c71a4 comments on the area allocator 2023-12-18 19:51:55 -05:00
Brett 19743d2be0 memory time 2023-12-18 19:22:29 -05:00
Brett b012b9f27c area allocator workings (basic, needs improvement) 2023-12-18 02:02:35 -05:00
Brett 1d52b21131 ascii box now fixed and back to where it was 2023-12-15 01:49:42 -05:00
Brett 7aae8272c3 memory tests 2023-12-10 15:15:23 -05:00
Brett 319f7a3771 static vector 2023-12-10 14:54:08 -05:00
Brett e6d096a486 move ranges around (utility over memory)
TOOD: add reverse
2023-12-10 13:21:26 -05:00
Brett e912e7e272 ranges 2023-11-09 19:11:56 -05:00
Brett da7627dd3b memory 2023-11-09 19:07:24 -05:00
Brett e28f30bcec fix uninit error 2023-11-09 15:28:17 -05:00
Brett 97860853cf size check 2023-11-08 20:25:47 -05:00
Brett 1ada8d3912 we sexy man 2023-11-08 18:50:16 -05:00
Brett a555b53a61 update memory to check for size bounds: 2023-11-06 18:35:09 -05:00
Brett 1a72728aeb warning fix 2023-11-06 00:43:44 -05:00
Brett 288076ed02 improve scoped_buffer, it now handles copying 2023-11-05 19:05:32 -05:00
Brett 1d8f9b4bbd fix memory leak 2023-10-27 14:32:15 -04:00
Brett 585429e345 order 2023-10-27 14:31:11 -04:00
Brett 0eb6db500b holy const batman 2023-10-27 14:30:16 -04:00
Brett 52c5f2b7b3 make reference 2023-10-27 14:29:41 -04:00
Brett f639b4f83c add default constructor to scoped_buffer 2023-10-27 14:26:31 -04:00
Brett 55c497475e why 2023-10-27 01:11:05 -04:00
Brett a3179d1a36 compat 2023-10-26 19:44:44 -04:00
Brett 0d6f396a15 fun2 2023-10-26 16:36:27 -04:00
Brett cf49d155de fun 2023-10-26 16:35:42 -04:00
Brett 96af65a675 move 2023-10-25 01:26:44 -04:00
Brett 82583a444d .data() 2023-10-25 01:26:26 -04:00
Brett 6252525091 .data() 2023-10-25 01:23:33 -04:00
Brett 4010df0e3f const ptr 2023-10-25 01:23:16 -04:00
Brett d59cfd0d4a backwards compat 2023-10-24 21:44:24 -04:00
Brett 63ae93c6e6 move around to bytes and make it faster 2023-10-24 21:43:22 -04:00
Brett 029132c622 macro sackro allocator get fuckedero 2023-09-21 23:23:27 -04:00
Brett 983d7de820 std::function is slow!!
maybe change blt::logging to use something a little faster. base class + virtual function isn't that slow!
2023-07-24 03:30:23 -04:00
Brett f5d6ef19a4 remove format changes 2023-07-24 02:55:03 -04:00
Brett 85fdc4fa65 Move constructing is now allowed for the scoped buffer, copy assignment disallowed.
Copy assignment isn't allowed because T cannot be guaranteed to be copyable and I don't want this class to involve type traits
2023-07-24 02:52:11 -04:00
Brett 0d5abd143f readme update plus time functions and cleaner scoped_buffer WITH begin()/end()
scoped_buffer update will break most uses
2023-07-24 02:39:03 -04:00