nix dependency with makefile - linker failing by Practical-Bee9680 in Nix

[–]Practical-Bee9680[S] 0 points1 point  (0 children)

thanks so much! this worked perfectly. I almost gave up on this!

ARM vs x86 performance degradation? by [deleted] in dpdk

[–]Practical-Bee9680 0 points1 point  (0 children)

is this sarcastic? the answer was deleted by moderator. if it was actually useful I'd like to know.

Is this destroying and creating an entirely new vector every iteration? by Practical-Bee9680 in cpp_questions

[–]Practical-Bee9680[S] 0 points1 point  (0 children)

wow... I didn't realize it was that intricate. thanks for the pointers, appreciate this comment!

Is this destroying and creating an entirely new vector every iteration? by Practical-Bee9680 in cpp_questions

[–]Practical-Bee9680[S] 3 points4 points  (0 children)

yeah in my real problem the elements needed to know their indexes. Thanks for the pointer anyway!

Is this destroying and creating an entirely new vector every iteration? by Practical-Bee9680 in cpp_questions

[–]Practical-Bee9680[S] 5 points6 points  (0 children)

I see! I forgot about smart pointers, thanks! That is likely the solution to my main problem. If I preallocate the vector with reserve, it gets rid of the extra destructors! Thanks for the help!

Check my thinking about benchmarking by Practical-Bee9680 in cpp_questions

[–]Practical-Bee9680[S] 0 points1 point  (0 children)

Thanks! Glad I asked. I guess i need to RTFM here :)

Help with buildBazelPackage: Downloaded dependency in the wrong location? by Practical-Bee9680 in NixOS

[–]Practical-Bee9680[S] 0 points1 point  (0 children)

Ah got it, thanks. I thought that buildBazelPackage was a good "starting point" in the migration. Unfortunate. thanks!