Jacques Lucke JacquesLucke
  • Hennigsdorf near Berlin
  • Joined on 2013-11-18
Jacques Lucke commented on pull request blender/blender#126888 2024-08-29 11:12:57 +02:00
BLI: optimize constructing IndexMask from bits and bools

Yeah, thought so, will leave this to someone else. The code here should not run in practice ideally.

Jacques Lucke commented on pull request blender/blender#126888 2024-08-29 11:11:56 +02:00
BLI: optimize constructing IndexMask from bits and bools

It doesn't really matter if this buffer is oversized. Everything that's not used of it is never touched.

That said, I did notice that a buffer larger than max_segment_size/2 is probably never…

Jacques Lucke commented on pull request blender/blender#126888 2024-08-29 11:09:42 +02:00
BLI: optimize constructing IndexMask from bits and bools

The u in _mm_loadu_si128 stands for unaligned. So that should be fine.

Jacques Lucke commented on pull request blender/blender#126888 2024-08-29 11:08:09 +02:00
BLI: optimize constructing IndexMask from bits and bools

Not sure what you mean specifically. This seems somewhat unrelated to offset indices.

Jacques Lucke commented on pull request blender/blender#126888 2024-08-29 11:07:34 +02:00
BLI: optimize constructing IndexMask from bits and bools

Not sure how popcount could be faster than just comparing with zero.

Jacques Lucke pushed to index-mask-from-bits at JacquesLucke/blender 2024-08-28 16:17:05 +02:00
d38b128819 fixes
Jacques Lucke created pull request blender/blender#126888 2024-08-28 16:03:19 +02:00
BLI: optimize constructing IndexMask from bits and bools
Jacques Lucke pushed to index-mask-from-bits at JacquesLucke/blender 2024-08-28 16:02:32 +02:00
36db2c16d6 cleanup
0f6952d453 cleanup
d752255115 add assert
f10d42794f add tests
768c5ea29e add comments
Compare 54 commits »
Jacques Lucke pushed to index-mask-from-bits at JacquesLucke/blender 2024-08-28 01:42:03 +02:00
d22ae07e86 add forward declaration
Jacques Lucke pushed to index-mask-from-bits at JacquesLucke/blender 2024-08-28 01:31:23 +02:00
170077dd14 add more generate from_batch_predicate api
fc78dce5ee add comparison with old implementation to benchmark
459a787204 improve check
Compare 3 commits »
Jacques Lucke pushed to index-mask-from-bits at JacquesLucke/blender 2024-08-28 00:29:43 +02:00
d1bb457007 improve benchmark
5012f3aca7 add tests for ranges builder
Compare 2 commits »
Jacques Lucke pushed to index-mask-from-bits at JacquesLucke/blender 2024-08-28 00:07:58 +02:00
e024561f80 add index ranges builder
538fe46dc7 progress
Compare 2 commits »
Jacques Lucke pushed to index-mask-from-bits at JacquesLucke/blender 2024-08-27 19:38:53 +02:00
b5d5743c91 reduce constant overhead
aa032fd1ef benchmark
224ffdc635 support multi-threading
2f78e554db optimize
cd01822c78 improve gathering indices
Compare 10 commits »
Jacques Lucke created branch index-mask-from-bits in JacquesLucke/blender 2024-08-27 19:38:53 +02:00
Jacques Lucke deleted branch expose-readonly-node-panel-uid from JacquesLucke/blender 2024-08-27 13:47:31 +02:00
Jacques Lucke pushed to main at blender/blender 2024-08-27 13:47:28 +02:00
51f7936335 Nodes: expose unique identifier for node panels in RNA