dylan-thinnes / solsys

Solsys at https://solsys.xyz is a prime factorizing solar system generator.
6 stars 0 forks source link

Reasonable limits on client-side factorization #15

Closed dylan-thinnes closed 7 years ago

dylan-thinnes commented 7 years ago

There are three main questions related to client-side factorization at the moment:

  1. How long is an acceptable time for the program to generate its sieve of primes?
  2. How can the client-side factorizer delegate its operations to the server-side factorizer?
  3. How will things such as strings be converted to numbers on the client-side, and what limits shouuld be placed on these string lengths?

I will keep these in mind as I write the functions to factorize on the client side.

dylan-thinnes commented 7 years ago

Regarding question #2, the client-side factorizer must communicate a base piX value to the server when it requests a factorization profile, so that the deltaPiX is properly calculated for these primes server-side before returning.

dylan-thinnes commented 7 years ago

Moving the entire profile and blueprint generation the to server hides the process/puzzle from the user. This will be done moving forward, so client-side performance issues will now be focused purely on sprite generation.