Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for obroundâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #277537 |
I seem to have misunderstood that sentence: I though you were saying that compilers store the entire array (not array values) in registers. (more) |
— | over 4 years ago |
Comment | Post #277537 |
*"Cache memory (fast, optional)"* You should most likely add restricted, because cache is usually a few hundred KB to a few MB. *"It's only when the compiler runs out of registers or when variables turn too large (such as arrays) that it needs to store them in RAM instead"* The "such as arrays" part ... (more) |
— | over 4 years ago |
Edit | Post #277392 |
Post edited: |
— | over 4 years ago |
Edit | Post #277392 |
Post edited: |
— | over 4 years ago |
Edit | Post #277392 | Initial revision | — | over 4 years ago |
Answer | — |
A: Would a MySQL database run more efficiently with smaller varchar lengths? A simple google search of `VARCHAR size`, showed that it is not an arbitrarily sized string, which means `VARCHAR 150` and `VARCHAR 2` would take up the same amount space. So, no-- I don't think there would be any speed gains (unless the cache is in play which would most likely have a performance imp... (more) |
— | over 4 years ago |