I hereby claim:
- I am kurunve on github.
- I am kurunve (https://keybase.io/kurunve) on keybase.
- I have a public key ASC1DkzCUPSY6NyvuHlPxYbj6agPWoWH_E7uosITfPDLUAo
To claim this, I am signing this object:
| // IF case | |
| DateTime dt = DateTime.now(); | |
| Integer j = 0; | |
| for(Integer i = 0; i < 100000; i++) { | |
| String s = 'str' + i*i + '-' + (i-12); | |
| String s2 = 'str' + (i+(i-1)*i)+ '-' + (i-3*4); | |
| if(s == s2) {} | |
| if(i == j) {} | |
| j++; |
I hereby claim:
To claim this, I am signing this object:
| // Usecase -- 1000 accounts with different ids | |
| // Procedure of testing. Basically a define [1000/a] records in first set, and b define [1000/b] records in second set | |
| public static void doMagic(Integer a, Integer b) { | |
| Map<Id, Account> accs = new Map<Id, Account>([SELECT Id FROM Account]); | |
| system.debug(accs.size()); | |
| Set<Id> account_ids = accs.keySet(); | |
| Set<Id> set1 = new Set<id>(); | |
| Set<Id> set2 = new Set<Id>(); | |
| Set<Id> set1_a = new Set<id>(); |
| "use strict"; | |
| var Promise = require('bluebird'); | |
| class ChainThing { | |
| constructor(param1, param2) { | |
| this.time = param1; | |
| this.message = param2; | |
| } | |
| step1() { | |
| console.log('['+this.message+'] STEP 1 '); | |
| return new Promise((resolve, reject) => { |
| "use strict"; | |
| var Promise = require('bluebird'); | |
| class ChainThing { | |
| constructor(param1, param2) { | |
| this.time = param1; | |
| this.message = param2; | |
| } | |
| step1() { | |
| console.log('['+this.message+'] STEP 1 '); | |
| return new Promise((resolve, reject) => { |
| public class MegaQueueable implements Queueable, Database.AllowsCallouts { | |
| public Map<Id, String> AssetData; | |
| public MegaQueueable (Map<Id,String> asset_data){ | |
| AssetData = asset_data; | |
| } | |
| public void execute(QueueableContext context) { | |
| Map<Id, Asset> asset_map = new Map<Id, Asset>([SELECT Id, assetLastValidatedLogicHistory__c FROM Asset WHERE Id in :AssetData.keySet()]); |
| [email protected] |
| /* Reset */ | |
| html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, dl, | |
| dt, dd, blockquote, address{ | |
| margin: 0; | |
| padding: 0; | |
| } | |
| article,aside,details,figcaption,figure, | |
| footer,header,hgroup,menu,nav,section,form { |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Some Abstract Page</title> | |
| </head> | |
| <body> | |
| <header> | |
| <nav> | |
| <a href="#about">About</a> |