1
edit
Changes
→Hot Spot Identification
This would be able to decrease the time taken to encode the strings if they were large. The data would still be encoded while being sent over the network.
=====Hot Spot IdentificationBy Profiling=====
In order to identify the hot spots of the program, I used Visual Studio. (Unfortunately, for this library I could not use the Seneca Matrix system, as my account did not have sufficient privileges to install the library.)
The other function that takes up a lot of resources is the Cryptopp::StringSource::StringSource function. This is part of the function that takes the String and encodes it. In the StringSource function, the strings that are being encrypted, or decrypted are being copied, being encrypted/decrypted, and stored.
Because the data would be split into smaller pieces by the explode function, this could be paralleled. Since this takes almost 55% of the time of the program, it would be worth speeding up.
=== Assignment 2 ===
=== Assignment 3 ===