9992e6a169
Fix a few compiler warnings with macOS / clang.
2017-02-18 23:59:34 +01:00
a67ca5e30c
Cleanup unused return value (was making coverity sad).
2016-08-16 18:22:03 +02:00
1ba90582f5
Fix a few compiler warnings on OS X / clang.
...
Two were actual bugs, though they existed only in unused code:
* In Freestyle it was unintentionally copying a scene rather than referencing it.
* In BLI_array_store_is_valid there was use of uninitialized memory.
2016-07-04 18:22:10 +02:00
e02679f71e
Cleanup: typos
2016-06-08 22:25:23 +10:00
64663b1f73
Cleanup: warnings in previous commit
2016-06-02 19:48:45 +10:00
cc7b817099
Minor edits to last commit
...
Failed with chunk merging disabled
2016-06-02 18:42:09 +10:00
0ce98b1ffb
BLI_array_store: Move writing many chunks into a function
...
Minor optimization, avoid some checks each iteration.
2016-06-02 18:13:13 +10:00
7980c7c10f
BLI_array_store: store max size in BArrayInfo
2016-06-02 18:05:11 +10:00
0bd8d6d194
Add extra validation checks to array-store
2016-06-02 16:41:41 +10:00
665cb1b291
Change the hash-table to be 3x total items to hash
2016-05-30 18:00:03 +10:00
bd6a64ced7
Remove accidental static var
2016-05-30 17:27:06 +10:00
53b60eed45
Add BLI_array_store copy-on-write API
...
This supported in-memory de-duplication,
useful to avoid in-efficient memory use when storing multiple, similar arrays.
2016-05-30 16:18:24 +10:00