<< 16-06-2026 >>

01:08:23*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
01:08:53*SchweinDeBurg joined #nim
03:28:22*xutaxkamay quit (Quit: ZNC 1.9.1+deb2+b3 - https://znc.in)
03:30:02*xutaxkamay joined #nim
05:05:52*Skippy8 joined #nim
06:42:55FromDiscord<_timurski> used a macro to make my code for evaluating b splines significantly faster (10x +) by generating code at compile time for a known spline degree https://gist.github.com/Ruskei/268de49699890ab67abf018a06953d91
06:43:11FromDiscord<_timurski> (technically unfinished because i need to handle some edge cases here but it shows the concept)
06:43:33FromDiscord<_timurski> sent a code paste, see https://play.nim-lang.org/#pasty=GTwfbBiV
06:52:15*Skippy8 quit (Ping timeout: 245 seconds)
07:40:53*emery joined #nim
09:21:38*przmk_ left #nim (#nim)
09:23:10*Skippy8 joined #nim
10:09:48*Skippy8 quit (Ping timeout: 246 seconds)
12:13:48*Skippy8 joined #nim
12:56:25FromDiscord<mratsim> In reply to @_timurski "used a macro to": can't that be handled with statics? what's the original code?
12:59:30FromDiscord<mratsim> I think a `fields()` iterator can do your unrolling without macros. Though I only looked on mobile
13:01:11FromDiscord<mratsim> ah there are nested loops with non obvious coordinates
14:06:52FromDiscord<litlighilit> I need to gdb nim program. how to show C source code instead of nim source  (a.k.a. disable \`#line\` directive)
14:07:10FromDiscord<litlighilit> donno why --lineDir\:off not work?
14:53:34*Skippy8 quit (Read error: Connection reset by peer)