|
|
|||||
Topic, Scratch Projects | ||||||
| ||||||
You must register or log in to post a message.if I wanted, I could use the same info to provide day of birth, star sign(capricorn, pisces, etc.) and also your life number...and all with the convenience of radio buttons XP I wont contend with it, I have no purpose for a landscape generator :P however, I did have a 3D experiment with islands ;) [edit] Prime Finder V3 - Optimised turns out writing to file wasnt lagging it that much, it was updating the display :P using this one to write primes to disk(function 0) with prime finder on churned out a near 9mb file containing the first million primes an under a minute for me ;) that near 9mb list is here [edit] ok updated link, removed old function 3 and replaced with function 5 I also renamed it :P Prime Finder V3 see function 5 for factor generator... @Factor Generator - Does not work, 125 gets split into 5 and 25 rather than 3 5s if youre looking for a speed test against your scratch one, use function 4...if youre testing its ability to find n primes, use function 1(0 writes the huge list to disk, which slows it down A LOT)...functions 2 and 3 dont really have much purpose :P btw, always wanted to create prime tree mechanism lolz it works, I just want MOAR SPEEDZ!!! [edit] I added a sneaky little speed boost to my C++ code, by analyzing the numbers it checks...basically it alternates between adding 2 and 4 because every third value is a multiple of 3...and I have already checked 3 early on(as well as 2)... oh btw, how come the var says 'Stage Percent' and isnt in the same place I put it? (I put it exactly where isPrime goes, for teh awesome lookz XD) [edit] oh wait, mine is faster :P [edit] suspicious, are you certain there arent any possible holes in yours where non-primes can slip through, like when I used 49? :P I want to see new 'code' I dont understand what you mean :P | GeneralFirst post of the topicAccounts: My account Geckojsc's account gameinsky'saccount Superdog ActionScript Projects: My Character Code Finder (Actionscript) Bonuslevel Matching Game AS Calculator |