22:38:10axionmalice: Keyword arguments are slower than regular function arguments. If you are trying to provide type annotations to the compiler for optimization purposes, might just want to use regular arguments if speed is important.
22:38:51basketmalice: You can normally look at things like that by asking Lisp to describe things, eg after (defun f (&key x) (declare (fixnum x)) x), (describe #'f) on SBCL tells me the derived type is (FUNCTION (&KEY (:X FIXNUM)) (VALUES FIXNUM &OPTIONAL))
22:46:29maliceaxion: actually I'm doing it so that I know the expected type
1:36:03leraxPipelines in Python: https://gist.github.com/ryukinix/1e99bac3d49f81f006c620d102675e16 :v
2:52:43eeyyyHey i just started learning this a week ago and i put in the code (defmacro unless (condition &rest body) '(if (not ,condition) (progn ,@body))) and got an error. Anyboody know what i did wrong?
2:53:18axionYou didn't use a quasiquote for starters
3:43:19lokeemaczen: It also depends on what they do. If each thread is using 100% CPU, then obviously there is little benefit of starting more than the number of threads in the CPU (where by "cpu thread" i refer to "virtual" cpu's, = cores*hyperthread)
3:43:54lokeOnce you start nmore than, say, 20Ă—the number of cores in the machine, you'll start to feel it.
3:44:16lokeIf, on the other hand, the threads are mostly idle, you can easily start thousands without any problems.
3:44:59emaczenloke: I think it is stalling pretty bad...
3:45:19emaczenloke: is there a lisp way to check the number of cores?
3:45:21lokeemaczen: "htop" is a useful command to monitor
3:45:33lokeemaczen: No. but use htop in a terminal.