• Search
  • API
  • Discussions
  • Computing & Technology
  • VPS Reviews

CodingForSpeed.COM

Menu
  • Disclaimer
  • Archive
    • Top Pages
    • List of Comments
  • VPS Database
  • SE Jobs

Using Faster Exponential Approximation

January 2, 2014 C/C++, double, faster approximation 6 Comments
Using Faster Exponential Approximation
In some scenarios/applicatons, where the precision may not be so critically important but the speed (performance) is, you may be willing to sacrifice some extent of accuracy for the …
[Continue Reading...]

Using Faster Integer Power in Java

December 28, 2013 general, integer, integer power, Java 3 Comments
Using Faster Integer Power in Java
In Java Math Package, there is a pow  function with returns double  type. However, we can speed up this if only integer (long type) parameters are required, i.e. compute integer power …
[Continue Reading...]

Using a Faster Approach to Judge if a Integer is power of Two

December 26, 2013 C/C++, integer No Comments
Using a Faster Approach to Judge if a Integer is power of Two
Given a signed-integer, we can use the following straightforward method to judge it is the power of two inline bool check1(int i) { if (i < 1) return false; …
[Continue Reading...]

A Faster Approach to Count Set Bits in a 32-bit Integer

December 24, 2013 C/C++, integer No Comments
A Faster Approach to Count Set Bits in a 32-bit Integer
A bit is set if it is ‘1’. To count how many ‘set’ bits in a 32-bit integer (signed or unsigned), we can use the following straightforward method: inline …
[Continue Reading...]

Using Faster Psudo-Random Generator: XorShift

December 24, 2013 C/C++, general, rand No Comments
Using Faster Psudo-Random Generator: XorShift
Computers cannot generate (or very difficult) true random numbers. In practise, psudo-random generators are used. To avoid ‘patterns’ for generated ‘random’ numbers, a seed is often used to re-arrange …
[Continue Reading...]

Accessing Multi-Dimensional Array in Row-Column Sequence (C/C++)

December 23, 2013 array, C/C++, general No Comments
Accessing Multi-Dimensional Array in Row-Column Sequence (C/C++)
Usage of Multi-Dimensional Array is popular. For example, a 2-dimension array can be created to represent a chess board state.  If we want to clear the state of the …
[Continue Reading...]

Posts pagination

Previous 1 … 8 9 10 11 12 Next

RSS Computing & Technology

  • Understanding std::transform_reduce in Modern C++
  • WordPress: How to Output Full Text in the Feed?
  • Nvidia, I’m coming again — this time I’m tougher
  • Introduction to Parquet Files, Read/Write using Python
  • Implement a Lock Acquire and Release in C++
  • Cambridge Science Park: Microsoft, AMD and Raspberry Pi (Neighbours)
  • Understanding the Sigma Function: Divisors, Multiplicativity, and the Formula
  • Why Parallelism Isn’t Infinite: Amdahl vs Gustafson Explained Simply
  • Teaching Kids Programming – Introduction to Combinatorial Mathematics 1 (Pascal Triangle/Binomial)
  • The Hidden Engine of Performance: It’s All About Where the Data Lives (Cache is the King)
This domain is hosted proudly on QuickHostUK & Namesilo Domain
Vultr VPS $25 Credit
Free $25credit when you sign up with Vultr Cloud VPS (10 Months Giveaway!)

Free $20 credit when you sign up with Linode Cloud VPS (4 Months Giveaway!) - (Promotional Code: PodcastInIt2018)
Free $10 credit when you sign up with DigitalOcean Cloud VPS (2 Months Giveaway!)
Free $10 credit when you sign up with Aliyun Cloud VPS (2 Months Giveaway!)

Get more promotion deals by using VPS Database and VPS Search Tool

Tag Cloud

about us algorithm binary operation binary representation bit shift c# c/c++ cache hit cache hits collision condition checks count the number of leading zeros developer productivity exp exponential function filldword hash key implementation Infrastructure as code inline assembly introduction java KPI loop math most significant bit msb natural numbers next largest power of two O(log n) Pair Programming performance power of two prefetching Programming Language Project Management psudo random generator recursion remote working shift Software Engineering tweaks Visual Studio Code x86 assembly xorshift
CodingForSpeed.COM Copyright © 2025.
This Wordpress Theme is Schema
Donate me and I'll send you the schema theme
so it is a lot cheaper for you - win win situation! 
All rights Reserved © 2014~ 2025 Uptime 4387 Days, 69 Posts and 5 Pages, 30 comments.
Computer & Technology | ROT47 | JustYY | Is VBScript Dead? | Weibo & Miaopai Video Parser | Steem Tools | VPS Reviews | Sites @ Github
Recommendations: Disclaimer | TopCashBack UK | Quidco CashBack UK | $2.5 Vultr Cloud VPS | $5 Linode Cloud VPS | $5 Digital Ocean Cloud VPS | PlusNet Fibre | QuickHostUK | Namesilo Domain | Watch TV Online (Video Streaming) | Weibo & Miaopai Video Parser
Follow Us: Linkedin Page | Facebook Page | Twitter | Sites @ Github
Make Your Wordpress Fast Again! This Wordpress is accelerated by WP Rocket Plugin!
Advertisement