[Factor-talk] OpenGL 3.1; possible code breakage

2009-06-24 Thread Joe Groff
I just updated opengl.gl in git to have bindings for OpenGL functions up to OpenGL 3.1. There's also a new opengl.gl3 vocab which only exports undeprecated OpenGL 3 symbols. As a heads-up, if you've written any OpenGL code in Factor that uses promoted extensions like GL_EXT_framebuffer_objec

[Factor-talk] Pull request: better prime numbers packing

2009-06-24 Thread Samuel Tardieu
In a byte, it is possible to store primality information about 30 positive numbers, since modulo rules guarantee that in every 30-numbers slice (30n .. 30n+29) only the numbers equal to 1, 7, 11, 13, 17, 19, 23 or 29 modulo 30 can be prime (except 2, 3 and 5). This allows us to store more prime nu