![]() |
![]() |
#1 |
Aug 2002
3×2,819 Posts |
![]()
We have some free time to work on the forum, so are there any requests?
We cannot promise that requests will be implemented, but they will be looked into. ![]() |
![]() |
![]() |
![]() |
#2 |
"/X\(‘-‘)/X\"
Jan 2013
23×32×41 Posts |
![]()
Factor the post counts!
![]() Last fiddled with by Mark Rose on 2016-02-25 at 23:20 |
![]() |
![]() |
![]() |
#3 |
Aug 2002
3·2,819 Posts |
![]()
We wrote a (really ugly) routine that does this but it is too server-intensive.
Because we don't store the results, each post is calculated over and over. Every post on the page generates a new shell_exec() call, which is just the beginning of our convoluted scheme. Is there anything less taxing you'd like to see? ![]() |
![]() |
![]() |
![]() |
#4 |
"Ram Shanker"
May 2015
Delhi
2×19 Posts |
![]()
I hope the maximum post count hasn't exceeded 10k yet for any user on this forum? In that case you can just generate a pre-computed look-up table (array) php file with hard coded factors for all integers upto 10k. No need to make sys-call or anything, just attach that as header file.
My 2 cents. ![]() |
![]() |
![]() |
![]() |
#5 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
144718 Posts |
![]()
Make the year show as 4 digits.
15 Jan 14 is ambiguous, is it 2014 or 2015? Or was it when Jesus was a teenager? |
![]() |
![]() |
![]() |
#6 |
Dec 2014
3×5×17 Posts |
![]()
Some threads get very long. If someone points me to a thread with 200 pages
I am not even going to try to find the interesting parts. What if each thread had a shared posting all pages of the thread displayed. The originator of the thread could put conclusions in the shared posting. For some threads, like "strategic double checks" the shared page could remind people to reserve the exponents they should work on. For the benchmark thread, the shared post could give the rules for the thread. Last fiddled with by bgbeuning on 2016-03-03 at 14:12 |
![]() |
![]() |
![]() |
#7 | |
"/X\(‘-‘)/X\"
Jan 2013
23×32×41 Posts |
![]() Quote:
Code:
<?php $loops = 1000; $begin = microtime(true); for ($i = 0; $i < $loops; $i++) shell_exec("factor 12345"); $time_taken = microtime(true) - $begin; $time_per_loop = $time_taken / $loops; echo "It took $time_taken seconds to call factor $loops times. Time per loop was $time_per_loop seconds.\n"; 1.3 ms per post count is a lot of overhead, I agree. |
|
![]() |
![]() |
![]() |
#8 |
Aug 2002
3×2,819 Posts |
![]() |
![]() |
![]() |
![]() |
#9 | |
Aug 2002
3·2,819 Posts |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#10 |
Jun 2003
123658 Posts |
![]() |
![]() |
![]() |
![]() |
#11 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
11·587 Posts |
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Collaboration Requests | robert44444uk | Prime Gap Searches | 2 | 2017-01-17 07:57 |
Requests for change... | WraithX | FactorDB | 32 | 2014-12-18 03:40 |
Manual Requests | tului | GPU Computing | 15 | 2014-06-24 06:22 |
a few simple requests for v5 | ixfd64 | PrimeNet | 44 | 2010-01-11 20:21 |
New Year requests | masser | Sierpinski/Riesel Base 5 | 22 | 2007-09-24 21:05 |